#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include <vld.h>

void test(int(*p)[], int sz)

{
	for (int i = 0;i < sz;i++)
	{
		printf("%d\n", (*p)[i]);
	}

}

int main()

{

	int arr[] = { 1,2,3,4,5 };

	int sz = sizeof(arr)/sizeof(arr[0]);

	int(*p)[5] = &arr;

	test(p, sz);

	return 0;

}